function serviceAdd() {
    let data = {};
    data.serviceType = $("#serviceType").val();
    data.showHref = $("#showHref").val();
    data.token = $.cookie("token");
    let result = myAjax('/back/service/serviceAdd','post',data);
    if (result === 1) {
        alert("添加成功！");
        //页面跳转，下面两种方式都可以
        // window.location.href="";
        $("#right").load('../back/service/serviceManage.html');//_blank 在新窗口中打开被链接文档。
    } else {
        alert("添加失败");
    }
}
function cancelService() {
    $("#right").load('/back/service/serviceAdd.html');
}